package com.wac.blog.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wac.blog.pojo.Blog;
import com.wac.blog.mapper.BlogMapper;
import com.wac.blog.service.BlogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wac
 * @since 2020-08-04
 */
@Service
public class BlogServiceImpl extends ServiceImpl<BlogMapper, Blog> implements BlogService {
    @Autowired
    BlogService blogService;

    @Autowired
    BlogMapper blogMapper;

    public void test(){
        blogService.list(null);
        blogMapper.selectList(null);
    }
}
